﻿import re

data='''
<li><a href='/media/html/template/csdn/489688630.html'><span>会员列表</span></a></li>
	
	<li><a href="/media/html/template/csdn/250853625.html"><span>分享与讨论</span></a></li>
		
	<li><a href="/media/html/template/csdn/291658804.html"><span>全部文章</span></a></li>

'''
f=open('d:/1.html')
content=f.read()
f.close()
h1='../thickbox/thickbox.css'

patt='href=[\'"]'+h1+'[\'"]'
c_href='href="'+'######'+'"'
content=re.sub(patt,c_href,content)
print content
